package main.java.maziacs;


public class Gem {

	private IGame game;
	public Gem(IGame game){
		this.setGame(game);
		number=game.getNumberOfGems();
		path=new Path();
	}
	/**
	 * @uml.property  name="number"
	 */
	private int number;

	/**
	 * Getter of the property <tt>number</tt>
	 * @return  Returns the number.
	 * @uml.property  name="number"
	 */
	public int getNumber() {
		return number;
	}

	/**
	 * Setter of the property <tt>number</tt>
	 * @param number  The number to set.
	 * @uml.property  name="number"
	 */
	public void setNumber(int number) {
		this.number = number;
	}

	/**
	 * @uml.property  name="path"
	 * @uml.associationEnd  multiplicity="(1 1)" inverse="gem:uml.Path"
	 */
	private Path path;

	/**
	 * Getter of the property <tt>path</tt>
	 * @return  Returns the path.
	 * @uml.property  name="path"
	 */
	public Path getPath() {
		return path;
	}

	/**
	 * Setter of the property <tt>path</tt>
	 * @param path  The path to set.
	 * @uml.property  name="path"
	 */
	public void setPath(Path path) {
		this.path = path;
	}

		
		/**
		 */
		public void putGem(){
		}

		public void setGame(IGame game) {
			this.game = game;
		}

		public IGame getGame() {
			return game;
		}

}
